home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmCreateTemplateDialog.z
/
XmCreateTemplateDialog
Wrap
Text File
|
1998-10-30
|
5KB
|
133 lines
XXXXmmmmCCCCrrrreeeeaaaatttteeeeTTTTeeeemmmmppppllllaaaatttteeeeDDDDiiiiaaaalllloooogggg((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmCCCCrrrreeeeaaaatttteeeeTTTTeeeemmmmppppllllaaaatttteeeeDDDDiiiiaaaalllloooogggg((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmCCCCrrrreeeeaaaatttteeeeTTTTeeeemmmmppppllllaaaatttteeeeDDDDiiiiaaaalllloooogggg - A MessageBox TemplateDialog
convenience creation function
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/MessageB.h>
WWWWiiiiddddggggeeeetttt XXXXmmmmCCCCrrrreeeeaaaatttteeeeTTTTeeeemmmmppppllllaaaatttteeeeDDDDiiiiaaaalllloooogggg(
WWWWiiiiddddggggeeeetttt ppppaaaarrrreeeennnntttt,
SSSSttttrrrriiiinnnngggg nnnnaaaammmmeeee,
AAAArrrrggggLLLLiiiisssstttt aaaarrrrgggglllliiiisssstttt,
CCCCaaaarrrrddddiiiinnnnaaaallll aaaarrrrggggccccoooouuuunnnntttt);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmCCCCrrrreeeeaaaatttteeeeTTTTeeeemmmmppppllllaaaatttteeeeDDDDiiiiaaaalllloooogggg is a convenience creation function
that creates a DialogShell and an unmanaged MessageBox child
of the DialogShell. The MessageBox widget's XXXXmmmmNNNNddddiiiiaaaallllooooggggTTTTyyyyppppeeee
resource is set to XXXXmmmmDDDDIIIIAAAALLLLOOOOGGGG____TTTTEEEEMMMMPPPPLLLLAAAATTTTEEEE. By default, the
TemplateDialog widget contains only the separator child. You
can build a customized dialog by adding children to the
TemplateDialog.
You can create the standard MessageBox pushbuttons, CCCCaaaannnncccceeeellll,
HHHHeeeellllpppp, and _O_K, by specifying the associated callback and
label string resources. Setting XXXXmmmmNNNNssssyyyymmmmbbbboooollllPPPPiiiixxxxmmmmaaaappppor
XXXXmmmmNNNNmmmmeeeessssssssaaaaggggeeeeSSSSttttrrrriiiinnnngggg creates a symbol or message label.
Use XXXXttttMMMMaaaannnnaaaaggggeeeeCCCChhhhiiiilllldddd to pop up the TemplateDialog (passing the
MessageBox as the widget parameter); use XXXXttttUUUUnnnnmmmmaaaannnnaaaaggggeeeeCCCChhhhiiiilllldddd to
pop it down.
XXXXmmmmCCCCrrrreeeeaaaatttteeeeTTTTeeeemmmmppppllllaaaatttteeeeDDDDiiiiaaaalllloooogggg forces the value of the Shell
resource XXXXmmmmNNNNaaaalllllllloooowwwwSSSShhhheeeellllllllRRRReeeessssiiiizzzzeeee to True.
_p_a_r_e_n_t Specifies the parent widget ID
_n_a_m_e Specifies the name of the created widget
_a_r_g_l_i_s_t Specifies the argument list
_a_r_g_c_o_u_n_t Specifies the number of attribute/value pairs in
the argument list (_a_r_g_l_i_s_t)
For a complete definition of MessageBox and its associated
resources, see XXXXmmmmMMMMeeeessssssssaaaaggggeeeeBBBBooooxxxx(3).
RRRREEEETTTTUUUURRRRNNNN
Returns the MessageBox widget ID.
RRRREEEELLLLAAAATTTTEEEEDDDD
PPPPaaaaggggeeee 1111 ((((pppprrrriiiinnnntttteeeedddd 11110000////22224444////99998888))))
XXXXmmmmCCCCrrrreeeeaaaatttteeeeTTTTeeeemmmmppppllllaaaatttteeeeDDDDiiiiaaaalllloooogggg((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmCCCCrrrreeeeaaaatttteeeeTTTTeeeemmmmppppllllaaaatttteeeeDDDDiiiiaaaalllloooogggg((((3333XXXX))))
XXXXmmmmMMMMeeeessssssssaaaaggggeeeeBBBBooooxxxx(3).
Page 2 (printed 10/24/98)